package me.zhengjie.modules.website.domain;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import me.zhengjie.base.BaseEntity;

import javax.persistence.*;

/**
 *
 *
 * @author system
 * @since 2024-10-23 22:16:35
 */
@Entity
@Data
@Table(name = "friend_link_table" )
@ApiModel(value = "FriendLinkTable", description = " ")
public class FriendLinkTable extends BaseEntity implements Serializable{

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @Column(name = "link_id" )
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long linkId;

    /**
     *
     */
    @Column(name = "link_name" )
    @NotBlank(message = "【 】不能为空")
    private String linkName;

    /**
     *
     */
    @Column(name = "link_url" )
    @NotBlank(message = "【 】不能为空")
    private String linkUrl;

    /**
     *
     */
    @Column(name = "link_description" )
    @NotBlank(message = "【 】不能为空")
    private String linkDescription;

    /**
     *
     */
    @Column(name = "logo_path" )
    @NotBlank(message = "【 】不能为空")
    private String logoPath;

    /**
     *
     */
    @Column(name = "sort_order" )
    @NotBlank(message = "【 】不能为空")
    private Integer sortOrder;

    /**
     *
     */
    @Column(name = "status" )
    @NotBlank(message = "【 】不能为空")
    private String status;

    /**
     *
     */
    @Column(name = "visit_count" )
    @NotBlank(message = "【 】不能为空")
    private Integer visitCount;

    /**
     *
     */
    @Column(name = "link_type" )
    private String linkType;
}